{strip}
{foreach $res as $r} {assign var=subscribed value=$this->isSubscribed($r.id)} {assign var=isadmin value=$this->checkAdmin($this->USER['id'],$r.admin)} {if $isadmin}{/if} {include file="{$this->group_templates}/group-header.html"}

{$this->lang['Information']}

{$this->lang[$r.privacy]} {$this->lang['Group']}
{if $r.description != ''}
{$this->str_smilies($r.description)}
{/if} {if $r.birthday != '0000-00-00'}
{$r.birthday}
{/if} {if $r.website != ''}
{createLink($r.website)}
{/if} {if $r.location == 'yes'}
 
{$r.loc_data}
{/if}

{$this->lang['Menu']}

{assign var=community_followers value=$this->getCommunityFollowers($r.id,'9999',1)}

{$this->lang['Followers']} {if $community_followers > 0}({$community_followers}){/if}

{if $community_followers > 0} {/if}

{$this->lang['Contact']}

{/foreach}

{$this->lang['Post_to_Group']}

{if ($r.allow_to_post == 'only_followers' && $this->isSubscribed($r.id)) || ($r.allow_to_post == 'only_admins' && $this->isAdmin()) || ($r.allow_to_post == 'everyone')}
{$this->buildPostBox($r)}
{/if} {if $r.allow_to_post == 'only_followers' && !$this->isSubscribed($r.id)}
{str_replace("%alink", "{$this->lang['community_subsribe_now']}" ,$this->lang['community_header_info_to_add_post'])}
{/if}

{$this->lang['Wall']}

{/strip}